package com.gome.ocean.dao.gddl;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import com.gome.ocean.dao.model.gddl.AppBO;

/**
 * <p>
 * 标题:
 * </p>
 * <p>
 * 描述:
 * </p>
 * 
 * @作者 haqiaolong
 * @创建时间 2016-03-18 17:52:23
 * @版本 1.00
 * @修改记录 <pre>
 * 版本       修改人         修改时间         修改内容描述
 * ----------------------------------------
 * 
 * ----------------------------------------
 * </pre>
 */
@Repository("appDAO")
public interface AppDAO {

    int insertAppBO(AppBO appBO);

    int removeAppBOById(Long id);

    int updateAppBO(AppBO appBO);

    AppBO findAppBOById(Long id);

    List<AppBO> findAllAppsByProjectNames(@Param("projectNames") List<String> projectNames, RowBounds rowBounds);

    List<AppBO> findAllApps();

    List<AppBO> findAllApps(RowBounds rowBounds);

    AppBO findAppBOByAppName(String appName);
    
    List<AppBO> findAppBOsByAppName(String appName);
}
